@extends('admin::index')

@section('content')
    <section class="content-header">
         <h1>
            {{ $create_header or trans('admin.title') }}
            <small>{{ $create_description or trans('admin.description') }}</small>
        </h1>

    </section>

    <section class="content">
        {{-- tian add flash提示信息 --}}
        @include('flash::message')

        @include('admin::partials.toastr')
        @include('admin::partials.error')
        @include('admin::partials.success')
        @include('admin::partials.exception')
     <div class="box box-info">
            <div class="box-header with-border">
                <h3 class="box-title">创建</h3>

                <div class="box-tools">
                    <div class="btn-group pull-right" style="margin-right: 10px">
                        <a href="{{ route('application.arearecs.index') }}" class="btn btn-sm btn-default"><i class="fa fa-list"></i>&nbsp;列表</a>
                    </div> <div class="btn-group pull-right" style="margin-right: 10px">
                        <a class="btn btn-sm btn-default form-history-back" href="javascript:window.history.go(-1);"><i class="fa fa-arrow-left"></i>&nbsp;返回</a>
                    </div>
                </div>
            </div>

            <!-- /.box-header -->
            <!-- form start -->
            <form action="" method="post" accept-charset="UTF-8" class="form-horizontal" pjax-container="">
                <div class="box-body">
                    <div class="form-group  ">
                        <label for="data" class="col-sm-2 control-label">Json数据</label>
                        <div class="col-sm-8">
                            <textarea name="data" id ='data' class="form-control" rows="5" placeholder="输入Json数据">{{$arearec->data}}</textarea>
                            <span class="help-block">
                        <i class="fa fa-info-circle"></i>&nbsp;必填
                        </span>
                        </div>
                    </div>
                </div>
                <!-- /.box-body -->

                <div class="box-footer">
                    <div class="2">

                    </div>
                    <div class="8">

                        <div class="btn-group pull-right">
                            <button type="submit" class="btn btn-info pull-right" id="btn_create_arearec_datas" data-loading-text="<i class='fa fa-spinner fa-spin '></i> Submit">提交</button>
                        </div>

                        <div class="btn-group pull-left">
                            <button type="reset" class="btn btn-warning">重置</button>
                        </div>
                    </div>

                </div>
                <!-- /.box-footer -->

            </form>
    </div>


    <script type="text/javascript">
        $(function () {
        });
    </script>
</section>
@endsection
